package org.jeecg.modules.htxincailiao.news.constant;

import org.jeecg.domain.BaseEnum;

public enum HTNewsSourceTypeEnum implements BaseEnum {
    //新闻类型: 0-原创 1- 转载

    /**
     * 原创
     */
    ORIGINAL(0, "原创"),

    /**
     * 转载
     */
    REPRINTED(1, "转载");


    private Integer value;

    private String desc;

    HTNewsSourceTypeEnum(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }


    /**
     * 获取枚举类的值
     *
     * @return Integer
     */
    @Override
    public Integer getValue() {
        return value;
    }

    /**
     * 获取枚举类的说明
     *
     * @return String
     */
    @Override
    public String getDesc() {
        return this.desc;
    }
}
